package com.zl.dto.base;

import java.io.Serializable;
import java.util.List;

/**
 * Created by tigers on 2019/9/8.
 */
public class PaginationDto <T> extends PaginationSupport implements Serializable {
    private static final long serialVersionUID = 7002501955628078021L;
    /** 当前页的数据 */
    private List<T> list;

    public PaginationDto() {
    }


    public PaginationDto(int pageNo, int pageSize) {
        super(pageNo, pageSize);
    }

    /**
     * 获得分页内容
     *
     * @return
     */
    public List<T> getList() {
        return list;
    }

    /**
     * 设置分页内容
     *
     * @param list
     */
    public void setList(List<T> list) {
        this.list = list;
    }
}
